<!--  -->
<template>
  <div>
    <el-row :gutter="10">
      <el-col :span="6">
        <el-card>
          <Detail title="总销售额" count="￥ 12672">
            <template slot="charts">
              <span style="font-size: 12px;display:block;height:20px;lien-height:20px">周同比&nbsp;&nbsp;56.67%&nbsp;<svg t="1650725995329" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4318" width="16" height="16"><path d="M512 405.333333L298.666667 618.666667h426.666666L512 405.333333z" fill="#d81e06" p-id="4319" /></svg>
                日同比&nbsp;&nbsp;19.96%&nbsp;<svg t="1650726039607" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5308" width="16" height="16"><path d="M512 618.666667L298.666667 405.333333h426.666666L512 618.666667z" fill="#1afa29" p-id="5309" /></svg></span>
            </template>
            <template slot="footer">
              <span>日销售额￥ 12423</span>
            </template>
          </Detail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <Detail title="访问量" count="72438">
            <template slot="charts">
              <!-- eslint-disable-next-line -->
              <LineChart></LineChart>
            </template>
            <template slot="footer">
              <span>日访问量&nbsp;1234</span>
            </template>
          </Detail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <Detail title="支付笔数" count="2832">
            <template slot="charts">
              <!-- eslint-disable-next-line -->
              <BarChart></BarChart>
            </template>
            <template slot="footer">
              <span>转化率&nbsp;64%</span>
            </template>
          </Detail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <Detail title="运营活动效果" count="78%">
            <template slot="charts">
              <!-- eslint-disable-next-line -->
              <ProgressChart></ProgressChart>
            </template>
            <template slot="footer">
              <span>周同比&nbsp;&nbsp;12%&nbsp;<svg t="1650725995329" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4318" width="16" height="16"><path d="M512 405.333333L298.666667 618.666667h426.666666L512 405.333333z" fill="#d81e06" p-id="4319" /></svg>
                日同比&nbsp;&nbsp;11%&nbsp;<svg t="1650726039607" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5308" width="16" height="16"><path d="M512 618.666667L298.666667 405.333333h426.666666L512 618.666667z" fill="#1afa29" p-id="5309" /></svg></span>
            </template>
          </Detail>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import Detail from './Detail'
import LineChart from './LineChart'
import BarChart from './BarChart'
import ProgressChart from './ProgressChart'
export default {
  components: {
    Detail,
    LineChart,
    BarChart,
    ProgressChart
  },
  data() {
    return {
    }
  }
}
</script>

<style  scoped>

</style>
